查询 Batch Withdrawal 对象

通过 batch_withdrawal 对象的 id 查询一个已创建的 batch_withdrawal 对象。

请求参数描述
APP_ID required string对应 app 对象的 id,该参数仅需要填写在请求地址内,查看 如何获取App ID
BATCH_WITHDRAWAL_ID string requiredbatch_withdrawal 对象的 id,该参数仅需要填写在请求地址内。

返回

返回一个 batch_withdrawal 对象,或者一个错误,详见 错误

定义

GET https://api.pingxx.com/v1/apps/{APP_ID}/batch_withdrawals/{BATCH_WITHDRAWAL_ID}
待补充
待补充
待补充
待补充
待补充
待补充
待补充

请求示例

curl https://api.pingxx.com/v1/apps/app_1Gqj58ynP0mHeX1q/batch_withdrawals/1901611151015122025 \
-H "Pingplusplus-Signature: {SIGNATURE}" \
-H "Pingplusplus-Request-Timestamp: 1478833871" \
-u sk_test_ibbTe5jLGCi5rzfH4OqPW9KC:
待补充
待补充
待补充
待补充
待补充
待补充
待补充

返回示例

{
    "id": "1901611151015122025",
    "object": "batch_withdrawal",
    "app": "app_1Gqj58ynP0mHeX1q",
    "created": 1478833871,
    "livemode": false,
    "amount": 80000,
    "amount_succeeded": 0,
    "amount_failed": 0,
    "amount_canceled": 0,
    "count": 3,
    "count_succeeded": 0,
    "count_failed": 0,
    "count_canceled": 0,
    "fee": 0,
    "metadata": {},
    "operation_url": "https://mapi.alipay.com/gateway.do?",
    "status": "pending",
    "source": "1801701051435464631",
    "time_finished": null,
    "user_fee": 0,
    "withdrawals": {
        "object": "list",
        "url": null,
        "has_more": false,
        "data": [
            {
                "id": "1701611150302360654",
                "object": "withdrawal",
                "app": "app_1Gqj58ynP0mHeX1q",
                "amount": 20000,
                "asset_transaction": "",
                "balance_transaction": "",
                "channel": "alipay",
                "created": 1472648887,
                "description": "test232description",
                "extra": {
                    "account": "username@gmail.com",
                    "name": "姓名"
                },
                "failure_msg": null,
                "fee": 200,
                "livemode": false,
                "metadata":{},
                "operation_url": null,
                "order_no": "20160829133002",
                "source": null,
                "status": "pending",
                "time_canceled": null,
                "time_succeeded": null,
                "user": "user_001",
                "user_fee": 50
            },
            {...},
            {...}
        ]
    }
}